A 4-byte integer known as a "four char code," typically used only on Macintosh or when declaring into QuickTime. If you pass a REALbasic string of four characters via this data type, it is automatically converted into a four char code Integer.
Also, OSType does an implicit type conversion to String when you assign an OSType to a String variable.
This data type can be used only with the Declare statement and cannot be used to declare REALbasic variables, properties, and methods.
See Also
Declare statement; Byte, CFStringRef, CString, PString, Ptr, Short, UByte, UShort, WindowPtr, WString data types.